/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.ccpobey.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.assignment2.ccpobey.impl.EmployeeSalary;
import za.ac.cput.assignment2.ccpobey.impl.EmployeeSalaryImpl;

/**
 *
 * @author Siya
 */
@Configurable
public class AppConfig {
    
    @Bean(name = "salary")
    public EmployeeSalary salary(){
        
        return new EmployeeSalaryImpl();
    }
}
